import request from '@/utils/system/request';
// 试验样本数据管理
/** 获取主页面对抗案例数据 */
export function CiteList(params: object) {
  return request({
    url: '/complexNet/performCompute/getAdversCaseList',
    method: 'post',
    data:params,
  });
}
//获取筛选添加数据
export function addCiteList(params: object) {
  return request({
    url: '/complexNet/sampleData/getSampleDataList',
    method: 'post',
    data:params,
  });
}
//添加案例
export function addCite(params: object) {
  return request({
    url: '/complexNet/performCompute/saveAdversCase',
    method: 'post',
    data:params,
  });
}
//案例推算结果
export function Citeresult(params: object) {
  return request({
    url: '/complexNet/performCompute/boundaryComputing',
    method: 'post',
    params: params,
  });
}
//删除案例
export function delCase(params: object) {
  return request({
    url: '/complexNet/performCompute/deleteAdversCase',
    method: 'post',
    params: params,
  });
}
// // 关键参数目录
// export function getkeyparamsList(params: object) {
//   return request({
//     // url: '/complexNet/performCompute/boundaryComputing',
//     url: '/boundary/category',
//     baseURL: "/mock",
//     method: 'post',
//     params: params,
//   });
// }
// // 图数据获取
// export function getEcharts(params: object) {
//   return request({
//     // url: '/complexNet/performCompute/boundaryComputing',
//     url: '/boundary/echarts',
//     baseURL: "/mock",
//     method: 'post',
//     params: params,
//   });
// }
// 导出
export function downloadboundaryExcelFile(params: object) {
  return request({
    responseType:'arraybuffer',
    url: '/complexNet/performCompute/exportBoundaryToExcel',
    method: 'get',
    params: params,
  });
}





